cell.className = "td"
cell.textContent = '%t'.format(peer.uptime);
+ cell = row.insertCell(-1)
+ cell.className = "td"
+ cell.textContent = '%.2f ms'.format(peer.latency_ms / 10**6);
+
cell = row.insertCell(-1)
cell.className = "td"
cell.textContent = '%.2mB'.format(peer.bytes_recvd);
E('th', {'class': 'th'}, _('Dir')),
E('th', {'class': 'th'}, _('IP Address')),
E('th', {'class': 'th'}, _('Uptime')),
+ E('th', {'class': 'th'}, _('Latency')),
E('th', {'class': 'th'}, _('RX')),
E('th', {'class': 'th'}, _('TX')),
E('th', {'class': 'th'}, _('Priority')),